import sympy
import math

numA = math.sqrt(2)  # 返回近似值：1.4142135623730951
numB = sympy.sqrt(2) # 返回精确符号表示：sqrt(2)

print(numA)
print(numB)